from fdfs_client.client import Fdfs_client

if __name__ == '__main__':
    #1.创建对象，指定配置
    client=Fdfs_client('client.conf')
    #2.调用方法，完成上传
    result = client.upload_by_filename('/home/python/Pictures/2018-11-12 17-18-08屏幕截图.png')
    print(result)